//
//  SLBaseTabBarController.m
//  StarLight
//
//  Created by Duke.wu on 16/5/11.
//  Copyright © 2016年 Duke.Wu. All rights reserved.
//

#import "SLBaseTabBarController.h"

@interface SLBaseTabBarController ()

@end

@implementation SLBaseTabBarController

- (void)viewDidLoad {
    [super viewDidLoad];
  
  UIView *backView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, 49)];
  backView.backgroundColor = SLBlackColor;
  [self.tabBar insertSubview:backView atIndex:0];
  self.tabBar.opaque = YES;
    // Do any additional setup after loading the view.
    
    UIButton* button = [[UIButton alloc]initWithFrame:CGRectMake(0.0, 0.0, 65, 65)];
    button.center = CGPointMake(self.view.bounds.size.width / 2, 20);
    [button setBackgroundImage:[UIImage imageNamed:@"Untitled"] forState:UIControlStateNormal];
    [button addTarget:self action:@selector(userTypeShow) forControlEvents:(UIControlEventTouchUpInside)];
    [self.tabBar addSubview:button];
    self.hidesBottomBarWhenPushed = YES;
    [self.tabBar setShadowImage:IMG(@"transparent")];
}

- (void)userTypeShow{

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
